<?php $this->headTitle('Payroll');  ?>
<?php $this->headScript()->appendFile('js/jquery/ui/jquery.ui.widget.js'); ?>
<?php $this->headScript()->appendFile('js/jquery/ui/jquery.ui.datepicker.js'); ?>
<div class="box">
  <div class="left"></div>
  <div class="right"></div>
  <div class="heading">
    <h1 style="background-image: url('images/shipping.png');">Payroll</h1>
    <div class="buttons">
        <a onclick="$('#form').submit();" class="button"><span>Save</span></a>
        <a onclick="location = '<?php echo $this->backUrl; ?>';" class="button"><span><< Back</span></a></div>
  </div>
  <div class="content">
    <?php echo $this->payrollForm->setName('form')->setAttrib('id', 'form')->setAttrib('autocomplete', 'off'); ?>
  </div>
</div>
<script type="text/javascript">
	$(function() {
		$("#datePaid").datepicker({
		dateFormat: 'dd/mm/yy',
		changeMonth: true,
		changeYear: true,
		showOn: 'both',
		buttonImage: 'images/calendar.gif',
		buttonImageOnly: true
		});
	});
</script>